package com.dg.cuckoo.admin.service;

import com.dg.cuckoo.admin.dto.earlyProject.EarlyProjectDto;
import com.dg.cuckoo.common.utils.PageModel;
import org.springframework.web.multipart.MultipartFile;

public interface DevelopmentBookService {

    void save(String projectId, EarlyProjectDto dto, MultipartFile[] files) throws Exception;

    void delect(String id);

    String openContentInfo(String id);

    String openInfo(String id);

    void update(String id,String projectId,MultipartFile[] files,EarlyProjectDto dto) throws Exception;

    PageModel page(Integer page, Integer pageSize,String projectId);

    void powerfulSave(String projectId, EarlyProjectDto dto, MultipartFile[] files) throws Exception;

    PageModel powerfulPage(Integer page, Integer pageSize,String projectId,Integer type);

    void powerfulUpdate(String id, String projectId, MultipartFile[] files, EarlyProjectDto dto) throws Exception;
}
